package com.programmingteam.wallpaperslideshow.imagesearch;

import java.io.File;
import java.net.URI;

import android.database.Cursor;
import android.location.Location;

public class PhotoData {
	private Location mImageLocation;
	private long mImageId;
	private String mProvider;
	private URI mSourcePageUri;
	private URI mImageUri;
	private String mPhtotoDescription;
	private String mPhotoNearPlace;
	private File mFileThumb;
	private File mFile;

	public PhotoData() {}
	
	public PhotoData(Cursor c) {
		
	}
	
	/** Image Location */
	public Location getImageLocation() {
		return mImageLocation;
	}

	/** Image Location */
	public PhotoData setImageLocation(Location location) {
		this.mImageLocation = location;
		return this;
	}

	/** Image webpage (at source provider - Flicr, Panoramio) */
	public URI getSourcePageUri() {
		return mSourcePageUri;
	}

	/** Image webpage (at source provider - Flicr, Panoramio) */
	public PhotoData setSourcePageUri(URI mSourcePageUri) {
		this.mSourcePageUri = mSourcePageUri;
		return this;
	}

	/** Image URI (web link to .jpg or .png file) */
	public URI getImageUri() {
		return mImageUri;
	}

	/** Image URI (web link to .jpg or .png file) */
	public PhotoData setImageUri(URI mImageUri) {
		this.mImageUri = mImageUri;
		return this;
	}

	/** Photo description as seen in providing service */
	public String getPhtotoDescription() {
		return mPhtotoDescription;
	}

	/** Photo description as seen in providing service */
	public PhotoData setPhtotoDescription(String mPhtotoDescription) {
		this.mPhtotoDescription = mPhtotoDescription;
		return this;
	}

	/** Place description */
	public String getPhotoNearPlace() {
		return mPhotoNearPlace;
	}

	/** Place description */
	public PhotoData setPhotoNearPlace(String mPhotoNearPlace) {
		this.mPhotoNearPlace = mPhotoNearPlace;
		return this;
	}

	/** Image thumbnail stroed in devices filesystem */
	public File getFileThumb() {
		return mFileThumb;
	}

	/** Image thumbnail stroed in devices filesystem */
	public PhotoData setFileThumb(File thumb) {
		this.mFileThumb = thumb;
		return this;
	}

	/** Image file stored in devices filesystem */
	public File getFile() {
		return mFile;
	}

	/** Image file stored in devices filesystem */
	public PhotoData setFile(File file) {
		this.mFile = file;
		return this;
	}

	/** Source system image ID */
	public long getImageId() {
		return mImageId;
	}

	/** Source system image ID */
	public PhotoData setImageId(long id) {
		this.mImageId = id;
		return this;
	}

	/** Service (Flickr, Panoramio), which provided this image */
	public String getProvider() {
		return mProvider;
	}

	/** Service (Flickr, Panoramio), which provided this image */
	public PhotoData setProvider(String provider) {
		this.mProvider = provider;
		return this;
	}
}
